package ooday03;

public  abstract  class guyuan {
    String name;
    int age;
    double price;

    public guyuan(String name, int age, double price) {
        this.name=name;
        this.age=age;
        this.price=price;
    }

    void  shangban(){
        System.out.println(name+age+"岁，工资为"+price+"员工已完成上班打卡");
    }
    void xiaban(){
        System.out.println(name+age+"岁，工资为"+price+"员工已完成下班打卡");
    }
    abstract  void work();
}
